[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.CONST           Defines Constant Data Segment                      Directive

  .CONST

     You use .CONST to define a constant data segment. All statements
     that you place after a .CONST directive are placed into the
     constant data segment.

     You end the definition of the constant data segment with another
     segment directive (such as .CODE) or an END directive, which
     indicates the end of the file.

     Before you use .CONST, you must have defined a memory model with the
     .MODEL directive.

     The advantage of .CODE is that it is translated into the standard
     constant data segment name for that memory model when the file is
     assembled, which makes it easy to link into high-level languages.

       Notes:     Use .CONST for static data.

See Also: .CODE .DATA .FARDATA .STACK .MODEL
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson